package com.spring.schema;

import com.spring.model.Hero;
import org.springframework.beans.factory.xml.NamespaceHandlerSupport;

/**
 * @author: sun.hongliang
 * @create: 2018/09/30 15:10
 */
public class HeroNamespaceHandler extends NamespaceHandlerSupport {
    @Override
    public void init() {
        registerBeanDefinitionParser("elementname1", new HeroBeanDefinitionParser(Hero.class));
    }
}
